export function getbrows () {
	let agent = navigator.userAgent.toLowerCase();
	let regStr_ie = /msie [\d.]+;/gi;
	let regStr_ff = /firefox\/[\d.]+/gi
	let regStr_chrome = /chrome\/[\d.]+/gi;
	let regStr_saf = /safari\/[\d.]+/gi;
	let regStr_android = /android\/[\d.]+/gi;
	let regStr_edge = /edge\/[\d.]+/gi;
			
	//IE
	if (agent.indexOf("msie") > 0) {
		return agent.match(regStr_ie);
	}
			
	//firefox
	if (agent.indexOf("firefox") > 0) {
		return agent.match(regStr_ff);
	}
			
	//Chrome
	if (agent.indexOf("chrome") > 0) {
		return agent.match(regStr_chrome);
	}
			
	//Safari
	if (agent.indexOf("safari") > 0 && agent.indexOf("chrome") < 0) {
		return agent.match(regStr_saf);
	}
			
	//EDGE
	if (agent.indexOf("Edge") > 0) {
		return agent.match(regStr_edge);
	}
			
	//anzhuo
	if (agent.indexOf("Andriod") > 0) {
			
		return agent.match(regStr_android);
			
	}
}

